home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / wgplt338.zip / WGNUPLOT.MNU < prev   
Text File  |  1992-10-31  |  12KB  |  587 lines

  1. ; Menu file for Windows gnuplot
  2. ; Roger Hadgraft, 26-5-92
  3. ; Russell Lang, 3 Jul 1992
  4.  
  5. [Menu]
  6. &File
  7.     &Open ...
  8.         load '[FILELIST]load[EOS]*.gnu[EOS]'{ENTER}
  9.     &Save ...
  10.         save '[FILELIST]save[EOS]*.gnu[EOS]'{ENTER}
  11.     &Demos ...
  12.         load '[FILELIST]load[EOS]*.dem[EOS]'{ENTER}
  13.     --
  14.     &Change Directory ...
  15.         cd '[INPUT]New directory?[EOS]'{ENTER}
  16.     show Current &Directory
  17.         pwd{ENTER}
  18.     --
  19.     O&utput ...
  20.         set output "[INPUT]Output filename?[EOS]"{ENTER}
  21.     &Printer Output
  22.         set output "PRN"{ENTER}
  23.     &Window Output
  24.          set output{ENTER}set terminal win{ENTER} 
  25.     Show Output
  26.         show output{ENTER}
  27.     Ou&tput Device ...
  28.         set terminal [INPUT]Terminal type?{ENTER}
  29.     Show Output Devices
  30.         set terminal{ENTER}show terminal{ENTER}
  31.     --
  32.     open DOS window
  33.         shell{ENTER}
  34.     run DOS command ...
  35.         ![INPUT]DOS command?{ENTER}
  36.     --
  37.     E&xit
  38.         quit{ENTER}
  39. [EndMenu]
  40.  
  41. [Menu]
  42. &Plot
  43.     Plot
  44.         plot 
  45.     3D Plot
  46.         splot 
  47.     Replot
  48.         replot{ENTER}
  49.     Clear device
  50.         clear{ENTER}
  51.     --
  52.     Simple Range
  53.         [[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]] [EOS]
  54.     Named Range
  55.         [[INPUT]Variable name?[EOS]=[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]] [EOS]
  56.     --
  57.     Data filename ...
  58.         '[FILELIST]Open[EOS]*.dat[EOS]' [EOS]
  59.     using x,y columns
  60.         using [INPUT]X column?[EOS]:[INPUT]Y column?[EOS] [EOS]
  61.     using x,y,ydelta columns
  62.         using [INPUT]X column?[EOS]:[INPUT]Y column?[EOS]:[INPUT]Ydelta column?[EOS] [EOS]
  63.     using x,y,ylow,yhigh columns
  64.         using [INPUT]X column?[EOS]:[INPUT]Y column?[EOS]:[INPUT]Ylow column?[EOS]:[INPUT]Yhigh column?[EOS] [EOS]
  65.     --
  66.     [Menu]
  67.     with Style
  68.         Lines
  69.             with lines
  70.         Points
  71.             with points
  72.         Lines and Points
  73.             with linespoints
  74.         Impulses
  75.             with impulses
  76.         Dots
  77.             with dots
  78.         Error Bars
  79.             with errorbars
  80.         Boxes
  81.             with boxes
  82.         Box Error Bars
  83.             with boxerrorbars
  84.     [EndMenu]
  85. [EndMenu]
  86.  
  87. [Menu]
  88. &Expressions
  89.     Evaluate
  90.         print 
  91.     Complex number ...
  92.         {[INPUT]Real part?[EOS],[INPUT]Imaginary part?[EOS]}
  93.     --
  94.     Exponentiation    **
  95.         **
  96. ;    Multiply    *
  97. ;        *
  98. ;    Divide    /
  99. ;        /
  100. ;    Add    +
  101. ;        +
  102. ;    Subtract    -
  103. ;        -
  104.     --
  105.     Modulo    %
  106.         %
  107.     Equality    ==
  108.         ==
  109.     Inequality    !=
  110.         !=
  111.     --
  112.     Bitwise AND    &
  113.         &
  114.     Bitwise exclusive OR    ^
  115.         ^
  116.     Bitwise inclusive OR    |
  117.         |
  118.     --
  119.     Logical AND    &&
  120.         &&
  121.     Logical OR    ||
  122.         ||
  123. ;    --
  124. ;    Ternary operator 1    ?
  125. ;        ?
  126. ;    Ternary operator 2    :
  127. ;        :
  128. [EndMenu]
  129.  
  130. [Menu]
  131. Fu&nctions
  132.     abs
  133.         abs
  134.     arg
  135.         arg
  136.     imag
  137.         imag
  138.     real
  139.         real
  140.     sgn
  141.         sgn
  142.     --
  143.     ceil
  144.         ceil
  145.     floor
  146.         floor
  147.     int
  148.         int
  149.     --
  150.     sqrt
  151.         sqrt
  152.     exp
  153.         exp
  154.     log
  155.         log
  156.     log10
  157.         log10
  158.     |
  159.     acos
  160.         acos
  161.     asin
  162.         asin
  163.     atan
  164.         atan
  165.     --
  166.     cos
  167.         cos
  168.     sin
  169.         sin
  170.     tan
  171.         tan
  172.     --
  173.     cosh
  174.         cosh
  175.     sinh
  176.         sinh
  177.     tanh
  178.         tanh
  179.     --
  180.     pi
  181.         pi
  182.     gamma
  183.         gamma
  184.     (x)
  185.         (x)
  186.     |
  187.     besj0
  188.         besj0
  189.     besj1
  190.         besj1
  191.     --
  192.     besy0
  193.         besy0
  194.     besy1
  195.         besy1
  196.     --
  197.     Define User Function ...
  198.         [INPUT]Name for function?[EOS][INPUT]Variable/s, eg. (a,b) ?[EOS]=
  199.     Show User Functions
  200.         show functions{ENTER}
  201.     --
  202.     Define User Variable ...
  203.         [INPUT]Name for variable?[EOS]=[INPUT]Value, eg. 9.81 ?{ENTER}
  204.     Show User Variables
  205.         show variables{ENTER}
  206.     --
  207.     x Dummy variable
  208.         set dummy [INPUT]Variable name?{ENTER}
  209.     x,y Dummy variables
  210.         set dummy [INPUT]Variable names (eg. u,v)?{ENTER}
  211.     Show Dummy variables
  212.         show dummy{ENTER}
  213. [EndMenu]
  214.  
  215. [Menu]
  216. &General
  217.     Border on
  218.         set border{ENTER}
  219.     Border off
  220.         set noborder{ENTER}
  221.     Show Border
  222.         show border{ENTER}
  223.     --
  224.     Box width
  225.         set boxwidth [INPUT]Box Width?{ENTER}
  226.     Auto Box Width
  227.         set boxwidth{ENTER}
  228.     Show Box width
  229.         show boxwidth{ENTER}
  230.     --
  231.     Show Line Types
  232.         test{ENTER}
  233.     --
  234.     [Menu]
  235.     Parametric
  236.         Set Parametric
  237.             set parametric{ENTER}
  238.         Not Parametric
  239.             set noparametric{ENTER}
  240.         Show Parametric
  241.             show parametric{ENTER}
  242.         --
  243.         t Range
  244.             set trange [[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]]{ENTER}
  245.         u Range
  246.             set urange [[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]]{ENTER}
  247.         v Range
  248.             set vrange [[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]]{ENTER}
  249.     [EndMenu]
  250.     --
  251.     [Menu]
  252.     Clipping
  253.     Clip near points
  254.         set clip points{ENTER}
  255.     Clip one point
  256.         set clip one{ENTER}
  257.     Clip two points
  258.         set clip two{ENTER}
  259.     No Clipping
  260.         set noclip{ENTER}
  261.     Show Clip type
  262.         show clip{ENTER}
  263.     [EndMenu]
  264.     --
  265.     [Menu]
  266.     Polar
  267.     Polar
  268.         set polar{ENTER}
  269.     Not Polar
  270.         set nopolar{ENTER}
  271.     Show Polar
  272.         show polar{ENTER}
  273.     Radial Range
  274.         set rrange [[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]]{ENTER}
  275.     Angles in Degrees
  276.         set angles degrees{ENTER}
  277.     Angles in Radians
  278.         set angles radians{ENTER}
  279.     Show Angle units
  280.         show angles{ENTER}
  281.     [EndMenu]
  282.     --
  283.     Set Plot Size
  284.         set size [INPUT]Xscale?[EOS],[INPUT]Yscale?{ENTER}
  285.     Show Plot Size
  286.         show size{ENTER}
  287.     --
  288.     Sampling Rate
  289.         set sample [INPUT]Sampling rate (default=100)?{ENTER}
  290.     Show Sampling Rate
  291.         show sample{ENTER}
  292. [EndMenu]
  293.  
  294. [Menu]
  295. &Axes
  296.     Autoscale xy
  297.         set autoscale [INPUT]Which axes (eg. xy)?{ENTER}
  298.     No Autoscale xy
  299.         set noautoscale [INPUT]Which axes (eg. xy)?{ENTER}
  300.     Show Autoscale
  301.         show autoscale{ENTER}
  302.     --
  303.     Logscale xyz
  304.         set logscale [INPUT]Which axes (eg. xy)?{ENTER}
  305.     No Logscale xyz
  306.         set nologscale [INPUT]Which axes (eg. xy)?{ENTER}
  307.     Show Logscale
  308.         show logscale{ENTER}
  309.     --
  310.     [Menu]
  311.     Tics
  312.         Tic format string
  313.             set format [INPUT]Axes?[EOS] "[INPUT]Format string?[EOS]"{ENTER}
  314.         Tic marks format
  315.             show format{ENTER}
  316.         --
  317.         Inward facing tics (default)
  318.             set tics in{ENTER}
  319.         Outward facing tics
  320.             set tics out{ENTER}
  321.         Show tics
  322.             show tics{ENTER}
  323.         --
  324.         Tics level
  325.             set ticslevel [INPUT]Level (default=0.5)?{ENTER}
  326.         --
  327.         Tic interval
  328.             set [INPUT]Axis: x, y or z ?[EOS]tics [INPUT]Start, Increment, End (eg. 0,0.5,10) ?{ENTER}
  329.         --
  330.         Tic labels start
  331.             set [INPUT]Axis: x, y or z ?[EOS]tics ("[INPUT]Label text?[EOS]" [INPUT]Position?[EOS]
  332.         another Tic label
  333.             ,"[INPUT]Label text?[EOS]" [INPUT]Position?[EOS]
  334.         Tic labels finish
  335.             ){ENTER}
  336.     [EndMenu]
  337.     --
  338.     X Range
  339.         set xrange [[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]]{ENTER}
  340.     Y Range
  341.         set yrange [[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]]{ENTER}
  342.     Z Range
  343.         set zrange [[INPUT]Lower bound?[EOS]:[INPUT]Upper bound?[EOS]]{ENTER}
  344.     --
  345.     X Label
  346.         set xlabel "[INPUT]Label text?[EOS]" [INPUT]X offset, Y offset (eg. 2,3) ?{ENTER}
  347.     Y Label
  348.         set ylabel "[INPUT]Label text?[EOS]" [INPUT]X offset, Y offset (eg. 2,3) ?{ENTER}
  349.     Z Label
  350.         set zlabel "[INPUT]Label text?[EOS]" [INPUT]X offset, Y offset (eg. 2,3) ?{ENTER}
  351.     Show axis Labels
  352.         show xlabel{ENTER}show ylabel{ENTER}show zlabel{ENTER}
  353.     --
  354.     No X zero axis
  355.         set noxzeroaxis{ENTER}
  356.     No Y zero axis
  357.         set noyzeroaxis{ENTER}
  358.     X,Y zero axes on
  359.         set zeroaxis{ENTER}
  360.     Show zero axis status
  361.         show zeroaxis{ENTER}
  362. [EndMenu]
  363.  
  364. [Menu]
  365. &Chart
  366.     Grid on
  367.         set grid{ENTER}
  368.     Grid off
  369.         set nogrid{ENTER}
  370.     Show Grid
  371.         show grid{ENTER}
  372.     --
  373.     Add Arrow
  374.         set arrow [INPUT]Tag (1-99)?[EOS] from [INPUT]From coordinate?[EOS] to [INPUT]To coordinate?{ENTER}
  375.     Remove arrow
  376.         set noarrow [INPUT]Tag (1-99)?{ENTER}
  377.     Show Arrows
  378.         show arrow{ENTER}
  379.     --
  380.     Add Label
  381.         set label [INPUT]Tag?[EOS] "[INPUT]Label?[EOS]" at [INPUT]Coordinate?[EOS] [INPUT]Justification (l,c,r)?{ENTER}
  382.     Remove Label
  383.         set nolabel [INPUT]Tag?{ENTER}
  384.     Show Labels
  385.         show label{ENTER}
  386.     --
  387.     Set Title
  388.         set title "[INPUT]Title text?[EOS]" [INPUT]X position, Y position (eg. 2,4)?{ENTER}
  389.     Show Title
  390.         show title{ENTER}
  391.     |
  392.     Key (legend) position
  393.         set key [INPUT]Key position?{ENTER}
  394.     Default Key position
  395.         set key{ENTER}
  396.     No Key
  397.         set nokey{ENTER}
  398.     Show Key position
  399.         show key{ENTER}
  400.     --
  401.     Offsets
  402.         set offsets [INPUT]Offsets left,right,top,bottom ?{ENTER}
  403.     Show Offsets
  404.         show offsets{ENTER}
  405.     --
  406.     Time location
  407.         set time [INPUT]Location (eg. 1,1)?{ENTER}
  408.     No Time
  409.         set notime{ENTER}
  410.     Show Time Location
  411.         show time{ENTER}
  412. [EndMenu]
  413.  
  414. [Menu]
  415. &Styles
  416.     [Menu]
  417.     Data Style
  418.     Lines
  419.         set data style lines{ENTER}
  420.     Points
  421.         set data style points{ENTER}
  422.     Lines + Points
  423.         set data style linespoints{ENTER}
  424.     Dots
  425.         set data style dots{ENTER}
  426.     Impulses
  427.         set data style impulses{ENTER}
  428.     --
  429.     Error Bars
  430.         set data style errorbars{ENTER}
  431.     Boxes
  432.         set data style boxes{ENTER}
  433.     Box Error Bars
  434.         set data style boxerrorbars{ENTER}
  435.     [EndMenu]
  436.     Show Data Style
  437.         show data style{ENTER}
  438.     --
  439.     [Menu]
  440.     Function Style
  441.     Lines
  442.         set function style lines{ENTER}
  443.     Points
  444.         set function style points{ENTER}
  445.     Lines + Points
  446.         set function style linespoints{ENTER}
  447.     Dots
  448.         set function style dots{ENTER}
  449.     Impulses
  450.         set function style impulses{ENTER}
  451.     --
  452.     Error Bars
  453.         set function style errorbars{ENTER}
  454.     Boxes
  455.         set function style boxes{ENTER}
  456.     Box Error Bars
  457.         set function style boxerrorbars{ENTER}
  458.     [EndMenu]
  459.     Show Function style
  460.         show function style{ENTER}
  461. [EndMenu]
  462.  
  463. [Menu]
  464. &3D
  465.     [Menu]
  466.     Contours
  467.         Linear Contours
  468.             set cntrparam linear{ENTER}
  469.         Cubic Spline Contours
  470.             set cntrparam cubicspline{ENTER}
  471.         B-spline Contours
  472.             set cntrparam bspline{ENTER}
  473.         Number of Contours
  474.             set cntrparam levels [INPUT]How many contours?{ENTER}
  475.         Points for Contours
  476.             set cntrparam points [INPUT]How many points for the contours?{ENTER}
  477.         Order of B-splines
  478.             set cntrparam order [INPUT]Order of B-splines (2-10)?{ENTER}
  479.         --
  480.         Contours on Base
  481.             set contour base{ENTER}
  482.         Contours on Surfaces
  483.             set contour surface{ENTER}
  484.         Contours on Both
  485.             set contour both{ENTER}
  486.         No Contours
  487.             set nocontour{ENTER}
  488.         Show Contour
  489.             show contour{ENTER}
  490.         --
  491.         Number of Isosamples
  492.             show isosamples [INPUT]Number of isosamples?{ENTER}
  493.         Show Isosamples
  494.             show isosamples{ENTER}
  495.     [EndMenu]
  496.     --
  497.     Cartesian Mapping
  498.         set mapping cartesian{ENTER}
  499.     Spherical Mapping
  500.         set mapping spherical{ENTER}
  501.     Cylindrical Mapping
  502.         set mapping cylindrical{ENTER}
  503.     Show Mapping
  504.         show mapping{ENTER}
  505.     --
  506. ;    Hidden line removal
  507. ;        set hidden3d{ENTER}
  508. ;    No Hidden line removal
  509. ;        set nohidden3d{ENTER}
  510. ;    Show Hidden line removal
  511. ;        show hidden3d{ENTER}
  512. ;    --
  513.     Display Surface mesh
  514.         set surface{ENTER}
  515.     No Surface mesh
  516.         set nosurface{ENTER}
  517.     Show Surface status
  518.         show surface{ENTER}
  519.     --
  520.     Set View
  521.         set view [INPUT]X rotation (degrees)?[EOS],[INPUT]Z rotation?[EOS],[INPUT]Scale?[EOS],[INPUT]Z scale?{ENTER}
  522.     Show View
  523.         show view{ENTER}
  524. [EndMenu]
  525.  
  526. [Menu]
  527. His&tory
  528.     Previous command    ^P
  529.         {^P}
  530.     Next command    ^N
  531.         {^N}
  532.     --
  533.     Back one character    ^B
  534.         {^B}
  535.     Forward one character    ^F
  536.         {^F}
  537.     --
  538.     Beginning of the line    ^A
  539.         {^A}
  540.     End of the line    ^E
  541.         {^E}
  542.     --
  543.     Delete previous character    ^H
  544.         {^H}
  545.     Delete current character    ^D
  546.         {^D}
  547.     Delete last word    ^W
  548.         {^W}
  549.     Delete to end of line    ^K
  550.         {^K}
  551.     Delete entire line    ^U
  552.         {^U}
  553.     --
  554.     Redraw the line    ^L
  555.         {^L}
  556. [EndMenu]
  557. ;S&cript
  558. ;    Pause
  559. ;        pause [INPUT]Time to wait (secs)?[EOS] "[INPUT]Dialog box message?[EOS]"{ENTER}
  560. ;    Pause until <Enter>
  561. ;        pause -1 "[INPUT]Dialog box message?[EOS]"{ENTER}
  562. ;    --
  563. ;    Start Comment
  564. ;        #
  565.  
  566. --
  567. ; now some shortcuts.
  568. ; I use the '!' suffix to distinguish these from drop down menus
  569.     Replot!
  570.         replot{ENTER}
  571.     Open!
  572.         load '[FILELIST]load[EOS]*.gnu[EOS]'{ENTER}
  573.     Save!
  574.         save '[FILELIST]save[EOS]*.gnu[EOS]'{ENTER}
  575.     ChDir!
  576.         cd '[INPUT]New directory?[EOS]'{ENTER}
  577.     Print!
  578.         set terminal [INPUT]Terminal type?{ENTER}set output "PRN"{ENTER}replot{ENTER}set terminal win{ENTER}set output{ENTER}
  579.     WinPrint!
  580.         screendump{ENTER}
  581.     Prev Cmd!
  582.         {^P}
  583.     Next Cmd!
  584.         {^N}
  585.     &Help!
  586.         help{ENTER}
  587.